package com.demonzym.data.infos;


public class ShouCang {
	public String id, zhuleiming, zhulei, caiming;
	public static ShouCang parse(String d){
		ShouCang sc = new ShouCang();
		String[] data = d.split("[&]");
		sc.id = data[0];
		sc.zhuleiming = data[1];
		sc.zhulei = data[2];
		sc.caiming = data[3];
		return sc;
	}

	public static ShouCang[] parse(String[] d){
		ShouCang[] sc = new ShouCang[d.length];
		for(int i = 0; i < d.length; i++){
			sc[i] = parse(d[i]);
		}
		return sc;
	}
}
